package vg.services.plugin_manager.event_and_request.event;


/**
 * This event report decoders and all her components
 * about creating of new connection of graph model and AIF(additional information file).
 * @author tzolotuhin
 */
public class UIEventCreateNewConnection extends AUIEvent {
	private final int connectionId;
	private final String anchor;
	private final int graphId;
	private final int fileId;
	private final String connectionName;
	private final String graphName;
	/**
	 * Constructor
	 */
	public UIEventCreateNewConnection(int connectionId, String connectionName, String anchor, int graphId, String graphName, int fileId) {
		super(EUIEventType.DEF_CREATE_NEW_CONNECTION);
		this.connectionId = connectionId;
		this.anchor = anchor;
		this.graphId = graphId;
		this.fileId = fileId;
		this.connectionName = connectionName;
		this.graphName = graphName;
	}
	public String getAnchor() {
		return(this.anchor);
	}
	public final int getConnectionId() {
		return(this.connectionId);
	}
	public final int getFileId() {
		return(this.fileId);
	}
	public final int getGraphId() {
		return(this.graphId);
	}
	public String getConnectionName() {
		return(this.connectionName);
	}
	public String getGraphName() {
		return(this.graphName);
	}
}
